package com.prs.crm.dao.exchange;

import java.util.Collection;
import java.util.Date;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.exchange.OnlinePerson;
import com.prs.crm.domain.hr.Person;

public interface OnlinePersonDao extends BaseDao<OnlinePerson>{

	
	OnlinePerson findOnline(Person person,String ip);
	
	int removeOverTime(Date limitTime);
	Collection<OnlinePerson> getAll();
	Integer countOnlinePersons();
	int removePerson(Person person);
	int removeOnlinePerson(Integer id);
}
